﻿@model ESupervision.Models.ForumTopic

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<div>
    <h4>ForumTopic</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.ForumTopicPoster.UserName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.ForumTopicPoster.UserName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.ForumTopicTitle)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.ForumTopicTitle)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.ForumTopicContent)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.ForumTopicContent)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.ForumTopicPostedTime)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.ForumTopicPostedTime)
        </dd>

    </dl>

    @using (Html.BeginForm())
    {
        @Html.AntiForgeryToken()
        <div class="form-actions no-color">
            <button type="submit" class="btn btn-danger"><span class="glyphicon glyphicon-remove">Delete</span></button>
            @*<button type="submit" value="Delete" class="btn btn-danger" /> |*@
            @Html.ActionLink("BacktoList", "Index", "ForumTopic", null, new { @class = "btn btn-success  glyphicon glyphicon-repeat " })
            @*@Html.ActionLink("Back to List", "Index")*@
        </div>
    }
</div>
